
export enum ENTER_ROOM_COMMAND {
    MSG_GAME_SWITHC_TABLE_REQUEST   =   2002,           //切换房间 用于龙虎斗

    MSG_GAME_SWITCH_TABLE_RESPONSE  =   2003,           //切换房间返回

    MSG_GAME_CHECK_USER_REQUSET     =   20002,          //游戏服校验用户请求

    MSG_GAME_CHECK_USER_RESPONSE    =   20003,          //游戏服校验用户返回

    MSG_GAME_GET_ROOM_LIST_REQUEST  =   20004,          //请求获取房间列表

    MSG_GAME_GET_ROOM_LIST_RESPONSE =   20005,          //请求获取房间列表返回

    MSG_JOIN_COIN_REQUEST           =   20006,          //请求加入金币场房间

    MSG_JOIN_COIN_ACK               =   20007,          //请求加入金币场房间回应

    MSG_RECONNECT_ENTER_REQUEST     =   2030,           //断线重连请求进入房间

    MSG_RECONNECT_ENTER_ACK         =   2033,           //断线重连请求进入回应

    MSG_RECONNECT_ENTER_FAILED      =   2035,           //断线重连请求进入,但是桌子此刻已经不存在了
}

export enum FRAME_COMMAND {
    MSG_USER_CHANGE_ROOM_REQUEST        = 20004,            //请求换桌

    MSG_USER_CHANGE_ROOM_ACK            = 20005,            //换桌失败

    MSG_USER_ENTER_ROOM_PUSH            = 2005,             //玩家进入推送

    MSG_GAME_ROOM_READY_REQ             = 2006,             //用户点击准备

    MSG_GAME_ROOM_READY_PUSH            = 2007,         //服务器准备消息返回

    MSG_GAME_ROOM_START_PUSH            = 2009,         //服务器推送发牌消息

    MSG_USER_SOLUTION_REQUEST           = 2040,         //玩家请求解散房间

    MSG_USER_SOLUTION_ACK               = 2041,         //玩家解散房间推送

    MSG_USER_ISAGREE_REQUEST            = 2042,         //玩家是否同意解散房间请求

    MSG_USER_ISAGREE_ACK                = 2043,         //玩家是否同意解散房间的推送

    MSG_USER_SOLUTION_RESLUT_PUSH       = 2047,         //游戏解散结果

    MSG_USER_LEAVE_ROOM_REQUEST         = 2044,         //玩家请求退出

    MSG_USER_LEAVE_ROOM_PUSH            = 2045,         //玩家退出推送

    MSG_RECONNECT_ENTER_PUSH            = 2031,         //玩家断线重连回来了

    MSG_USER_VOICE_REQUEST              = 2060,         //玩家聊天请求

    MSG_USER_VOICE_ACK                  = 2061,         //玩家聊天回应

    MSG_USER_ZUANSHI_PUSH               = 2071,         //推送玩家钻石数量变化

    MSG_APP_CHANGE_STATE_REQUEST        = 2080,         //应用程序状态,1在后台 0在前台

    MSG_APP_STATE_PUSH                  = 2081,         //应用程序状态推送,1在后台 0在前台

    MSG_USER_TRUSTEESHIP_ACK            = 20013,        //托管通知

    MSG_USER_CANCEL_TRUSTEESHIP_REQUEST = 20012,        //取消托管请求

    MSG_GAME_NET_COUNT_DOWN_ACK          = 20015,       //倒计时

    MSG_USER_COIN_NOT_ENOUGH_ACK        = 20009,        //金币不够继续玩下去了

    MSG_GAME_ROOM2_READY_REQ            = 2106,         //特殊房间模式用户点击准备(进入房间不算位置，点击准备后才有位置及用户信息，适应金币场中牛牛，漂三张的需求)

    MSG_GAME_ROOM2_READY_PUSH           = 2107,         //特殊房间模式服务器准备消息返回及推送

    MSG_SERVER_MAINTAIN_ACK             = 2401,         //游戏维护公告

    MSG_SERVER_FULL_ANNOUNCEMENT_ACK    = 2403,         //全服公告

    MSG_GAME_NOTICE_PAY_RESULT          = 20053,        //游戏中的充值通知金币变化

    MSG_GAME_QUIT_GAME_TO_LOGIN         = 21003,        //服务器踢人到登录界面

    MSG_GAME_TOKEN_IS_INVALID           = 3001,         //token失效

    MSG_GAME_OVERTIME_QUIT              = 3003,         //15秒不操作退出游戏

    MSG_GAME_NET_PING                   = 20010,        //网络延时

    MSG_GAME_NET_PING_ACK               = 20011,        //网络延时回复

    MSG_GAME_ADD_COIN                   = 2501,         //转账增加金币

    MSG_SERVER_ERROE                    =2021       //服务器错误
}

export enum HEART_BEAT_COMMAND {

    MSG_HEART_BEAT_PUSH                 = 10000,     //心跳进入推送

    MSG_HEART_PING_PONG                 = 1,            //PING PONG 心跳

}

export enum CENTER_SERVER_PROTO {

    MSG_CENTER_HEART_BEAT_CENTER_ACK    = 1000,     //中心服心跳进入推送

    MSG_CENTER_LOGIN_OTHER_ACK          = 1002,    //中心服用户在其它地方登陆

    MSG_CENTER_USER_LUCKY_ACK           = 1004,    //中心服通知有人中奖

    MSG_CENTER_USER_JACKPOT_REQ         = 1005,    //中心服请求当前奖池

    MSG_CENTER_USER_JACKPOT_ACK         = 1006,    //中心服推送当前奖池

    MSG_CENTER_DELAY_CHECK_REQ          = 20010,   //中心服延时检测请求

    MSG_CENTER_DELAY_CHECK_ACK          = 20011,   //中心服延时检测回复


}


